#ifndef CPRODUCT_H
#define CPRODUCT_H

#include <QString>
#include <QDebug>

class CProduct
{
public:
    int     prId;
    int     prRun;
    int     prNum;
    float   prWidth;
    float   prHeight;
    float   prBleed;
    //QString prRotate;   // auto
    //int     prHNum;     // auto
    //int     prVNum;     // auto
public:
    CProduct();
    int setPrNum(int &run)
    {
        this->prNum = this->prRun / run;
        return  this->prNum;
    }

    double getPrSq()
    {
        return (this->prWidth * this->prHeight) * this->prNum;
    }
};

#endif // CPRODUCT_H
